<?xml version="1.0" encoding="UTF-8"?>
<template>
  <el-dialog
    :title="'资料上传'"
    :close-on-click-modal="false"
    :visible.sync="visible">
    <!-- 弹窗内容区域 -->
    <div>
      暂未实现具体内容
    </div>
    <span slot="footer" class="dialog-footer">
      <el-button @click="visible = false">取 消</el-button>
      <el-button type="primary" @click="onSubmit">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  data() {
    return {
      visible: false
    }
  },
  methods: {
    init(id) {
      this.visible = true
    },
    onSubmit() {
      this.visible = false
      this.$message({
        message: "功能待实现",
        type: "success",
        duration: 1500,
      });
    }
  }
}
</script>

<style lang="scss" scoped>
</style> 